package com.yjd.bi.promotion.dao.impl;

import org.springframework.stereotype.Component;
import com.yjd.comm.base.dao.impl.BaseDaoImpl;
import com.yjd.bi.promotion.model.SpreadRelationModel;
import com.yjd.bi.promotion.dao.ISpreadRelationDao;

/**
 * <b>description</b>：奖品规则表数据访问层 <br>
 * <b>time</b>：2016-06-07 15:17:27 <br>
 * <b>author</b>： chenpengfei@yijeidai.com
 */
@Component("spreadRelationDao")
public class SpreadRelationDaoImpl extends BaseDaoImpl implements ISpreadRelationDao {

	private static final String SQLMAPNAMESPACE = SpreadRelationModel.class.getName();
	private static final String PKNAME = "id";

	@Override
	public String getPrimaryKeyName() {
		return PKNAME;
	}

	@Override
	public String getSqlmapNamespace() {
		return SQLMAPNAMESPACE;
	}
	
}
